cmake_minimum_required(VERSION 3.10)

include_directories( ${DM2016_DEV} ${DM2016_DEV}/tinyxml/inc ${DM2016_DEV}/include )

add_subdirectory(dmtest)
add_subdirectory(num2hex)
add_subdirectory(logshow)
add_subdirectory(msgshow)
add_subdirectory(telegram)
add_subdirectory(scadashow)
add_subdirectory(rtdata)
add_subdirectory(eventmonitor)
add_subdirectory(measuremonitor)
add_subdirectory(cumulantmonitor)
add_subdirectory(dmsync)

if( NOT WIN32 AND NOT DEFINED ENV{NO_CAN} )
	add_subdirectory(can_tool)
endif()

add_subdirectory(slaver104)
add_subdirectory(master104)

add_subdirectory(hisdata)
add_subdirectory(histool)

add_subdirectory(dmd)
add_subdirectory(systool)

add_subdirectory(optool)

add_subdirectory(modbusmap)
add_subdirectory(dmmodbus)
add_subdirectory(sessiontool)